#include <iostream>
using namespace std;
int main() {
       int i=0,a = 0;
       

       cout<<"Ingrese cantidad de numeros: ";
       cin>>a;
       cout<<endl;
       int x[a];
       cout<<"Ingrese 2 numeros: "<<endl;
       cout<<"1. ";
       cin>>x[0];
       cout<<endl;
       cout<<"2. ";
       cin>>x[1];
       cout<<endl;
       cout<<"Serie: "<<x[0]<<","<<x[1]<<",";
       for (i = 2; i <= a; i++) {

                x[i] = x[(i - 1)] + x[(i - 2)];
                cout<<x[i]<<",";
                
            }
       
           

     
     
}


